package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : StockDetailVo
 * @Description : 库存明细回参实体
 * @Author : lst
 * @Date: 2020-10-21 22:47
 */
public class StockDetailVo implements Serializable {

    private static final long serialVersionUID = 2588545250675465175L;

    /**
     * 主键
     */
    private Integer id;
    /**
     * 库存id
     */
    private Integer stockId;
    /**
     * 标题
     */
    private String title;
    /**
     * 单据编号
     */
    private String invoiceNumber;
    /**
     * 仓库id
     */
    private String warehouseId;
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编号
     */
    private String specificationCode;
    /**
     * 颜色
     */
    private String color;
    /**
     * 单价
     */
    private BigDecimal unitPrice;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 数量
     */
    private BigDecimal quantity;
    /**
     * 单位
     */
    private String productUnit;
    /**
     * 标准单位数量
     */
    private BigDecimal standardUnitQuantity;
    /**
     * 标准单位
     */
    private String standardUnit;
    /**
     * 创建时间
     */
    private String createDate;
    /**
     * 模块id
     */
    private Integer moduleId;
    /**
     * 操作人编码
     */
    private String operationCode;
    /**
     * 操作人
     */
    private String operator;

    /**
     * 入库人
     */
    private String inStorePerson;

    /**
     * 入库人编码
     */
    private String inStoreCode;

    /**
     * 箱数
     */
    private BigDecimal boxAmount;
    /**
     * 每箱数量
     */
    private BigDecimal everyBoxAmount;
    /**
     * 规格说明
     */
    private String productSpecExplanation;
    /**
     * 备注
     */
    private String memo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getStandardUnitQuantity() {
        return standardUnitQuantity;
    }

    public void setStandardUnitQuantity(BigDecimal standardUnitQuantity) {
        this.standardUnitQuantity = standardUnitQuantity;
    }

    public String getStandardUnit() {
        return standardUnit;
    }

    public void setStandardUnit(String standardUnit) {
        this.standardUnit = standardUnit;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getInStorePerson() {
        return inStorePerson;
    }

    public void setInStorePerson(String inStorePerson) {
        this.inStorePerson = inStorePerson;
    }

    public String getInStoreCode() {
        return inStoreCode;
    }

    public void setInStoreCode(String inStoreCode) {
        this.inStoreCode = inStoreCode;
    }

    public BigDecimal getBoxAmount() {
        return boxAmount;
    }

    public void setBoxAmount(BigDecimal boxAmount) {
        this.boxAmount = boxAmount;
    }

    public BigDecimal getEveryBoxAmount() {
        return everyBoxAmount;
    }

    public void setEveryBoxAmount(BigDecimal everyBoxAmount) {
        this.everyBoxAmount = everyBoxAmount;
    }

    public String getProductSpecExplanation() {
        return productSpecExplanation;
    }

    public void setProductSpecExplanation(String productSpecExplanation) {
        this.productSpecExplanation = productSpecExplanation;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("StockDetailVo").append('[')
                .append("id=")
                .append(id)
                .append(",stockId=")
                .append(stockId)
                .append(",title=")
                .append(title)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",color=")
                .append(color)
                .append(",unitPrice=")
                .append(unitPrice)
                .append(",money=")
                .append(money)
                .append(",quantity=")
                .append(quantity)
                .append(",productUnit=")
                .append(productUnit)
                .append(",standardUnitQuantity=")
                .append(standardUnitQuantity)
                .append(",standardUnit=")
                .append(standardUnit)
                .append(",createDate=")
                .append(createDate)
                .append(",moduleId=")
                .append(moduleId)
                .append(",operationCode=")
                .append(operationCode)
                .append(",operator=")
                .append(operator)
                .append(",inStorePerson=")
                .append(inStorePerson)
                .append(",inStoreCode=")
                .append(inStoreCode)
                .append(",boxAmount=")
                .append(boxAmount)
                .append(",everyBoxAmount=")
                .append(everyBoxAmount)
                .append(",productSpecExplanation=")
                .append(productSpecExplanation)
                .append(",memo=")
                .append(memo)
                .append(']');
        return sb.toString();
    }
}
